package cn.kxm.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.kxm.dao.OutstorageBillMapper2;
import cn.kxm.pojo.OutstorageBill;
import cn.kxm.pojo.OutstorageBillDetail;
import cn.kxm.service.OutstorageBillService2;
import cn.kxm.service.OutstorageBillService3;
@Service
public class OutstorageBillServiceImpl2 implements OutstorageBillService3{

	@Autowired
	private OutstorageBillMapper2 om;

	@Override
	public List<OutstorageBill> findAll(String code, String start, String end,
			String name, Integer page, Integer size) {
		return om.findAll(code, start, end, name, page, size);
	}

	@Override
	public int getCount(String code, String start, String end, String name) {
		// TODO Auto-generated method stub
		return om.getCount(code, start, end, name);
	}

	@Override
	public OutstorageBill findByCode(String code) {
		// TODO Auto-generated method stub
		return om.findByCode(code);
	}

	@Override
	public List<Map<String, Object>> getPart(String code) {
		// TODO Auto-generated method stub
		return om.getPart(code);
	}

	@Override
	public int addoB(OutstorageBill o) {
		// TODO Auto-generated method stub
		return om.addoB(o);
	}

	@Override
	public int addoBdetail(OutstorageBillDetail obd) {
		// TODO Auto-generated method stub
		return om.addoBdetail(obd);
	}

	@Override
	public int modifyoB(OutstorageBill o) {
		// TODO Auto-generated method stub
		return om.modifyoB(o);
	}

	@Override
	public int modifyoBdetail(OutstorageBillDetail obd) {
		// TODO Auto-generated method stub
		return om.modifyoBdetail(obd);
	}

	@Override
	public List<OutstorageBillDetail> getBycode(String code) {
		// TODO Auto-generated method stub
		return om.getBycode(code);
	}

	@Override
	public int deleteoB(String code) {
		// TODO Auto-generated method stub
		return om.deleteoB(code);
	}

	@Override
	public int deleteoBdetail(String code) {
		// TODO Auto-generated method stub
		return om.deleteoBdetail(code);
	}


}
